﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using CLab.BusinessEntity;

namespace CLab.Services
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the class name "DoctorService" in code, svc and config file together.
    public class DoctorService : IDoctorService
    {
        public int RegistraDoctor(Doctor doc)
        {
            return new CLab.BusinessComponent.DoctorService().RegistraDoctor(doc);
        }

        public void EliminaDoctor(Doctor doc)
        {
            new CLab.BusinessComponent.DoctorService().EliminaDoctor(doc);
        }
    }
}
